package com.zxy.mapper;



import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zxy.pojo.entity.Clue;
import com.zxy.pojo.dto.CluePageQueryDto;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper

public interface ClueMapper extends BaseMapper<Clue> {
    
    /**
     * 查询线索列表
     * @param dto
     * @return
     */
    List<Clue> selectCluelist(CluePageQueryDto dto);

    /**
     * 查询线索总条数
     * @param dto
     * @return
     */
    Long countCluelist(CluePageQueryDto dto);
    /**
     * 新增线索
     * @param clue
     * @return
     */
    void insertClue(Clue clue);

    Clue selectClueById(Long id);

    List<Clue> cluePoolPageQuery(CluePageQueryDto dto);

    Long countCluePoollist(CluePageQueryDto dto);

    void updateClue(Clue clue);


}
